package com.bootdo.program.film.service.impl;

import com.bootdo.program.film.dao.FilmShortDao;
import com.bootdo.program.film.domain.FilmShortDO;
import com.bootdo.program.film.service.FilmShortService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;




@Service
public class FilmShortServiceImpl implements FilmShortService {
	@Autowired
	private FilmShortDao filmShortDao;

	@Override
	public FilmShortDO get(Long id){
		return filmShortDao.get(id);
	}

	@Override
	public List<FilmShortDO> list(Map<String, Object> map){
		return filmShortDao.list(map);
	}

	@Override
	public int count(Map<String, Object> map){
		return filmShortDao.count(map);
	}

	@Override
	public int save(FilmShortDO filmShort){
		return filmShortDao.save(filmShort);
	}

	@Override
	public int update(FilmShortDO filmShort){
		return filmShortDao.update(filmShort);
	}

	@Override
	public int remove(Long id){
		return filmShortDao.remove(id);
	}

	@Override
	public int batchRemove(Long[] ids){
		return filmShortDao.batchRemove(ids);
	}

}
